﻿using System;
using SlXnaApp1.ViewModel;

namespace SlXnaApp1.Pages
{
    public partial class SettingsPage
    {
        public SettingsPage()
        {
            InitializeComponent();
            DataContext = new SettingsViewModel();
        }

        private void SaveBtnClick(object sender, EventArgs e)
        {
            ((SettingsViewModel)DataContext).SaveName();
            NavigationService.GoBack();
        }
    }
}